package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Partner;
import com.example.demo.entity.PartnerRequest;


import java.util.List;

public interface PartnerService extends IService<PartnerRequest> {
    List<PartnerRequest> getReceivedRequests(Integer userId);
    Boolean sendRequest(PartnerRequest request);
    Boolean handleRequest(Integer id, String status);
    List<Partner> getPartnerList(Integer userId);

    List<PartnerRequest> getSentRequests(Integer userId);
}